package model;

public class Pixel {
	
	private int x;
	
	private int y;
	
	private double r;
	
	private double g;
	
	private double b;
	
	private int tempValue = 0;
	
	public Pixel (int x, int y, double r, double g, double b){
		this.setX(x);
		this.setY(y);
		this.setR(r);
		this.setG(g);
		this.setB(b);
	}
	
	public Pixel(int x, int y){
		this.setX(x);
		this.setY(y);
	}
	
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}

	public double getR() {
		return r;
	}

	public void setR(double r) {
		this.r = r;
	}

	public double getG() {
		return g;
	}

	public void setG(double g) {
		this.g = g;
	}

	public double getB() {
		return b;
	}

	public void setB(double b) {
		this.b = b;
	}

	public int getTempValue() {
		return tempValue;
	}

	public void setTempValue(int tempValue) {
		this.tempValue = tempValue;
	}

}
